package com.wframe.project.former.dataservices.upload;

import com.frame.database.TableBean;
import com.frame.database.TableKey;

/**
 * 
 * 功能:数据实体类<br>
 * 参数:<br>
 * 作者:王海锋<br>
 * 时间:2017-1-13上午10:57:39<br>
 */
public class FileBean implements TableBean{
	
	private int id;
	private String filename;
	private String filesize;
	private String filetype;
	private String filedir;
	private String filepath;
	private String dataid;
	private String userid;
	private long createtime;
	private int deltag;
	
	public FileBean(String fname,String fsize,String ftype,String fpath,String dataid){
		this.filename=fname;
		this.filesize=fsize;
		this.filetype=ftype;
		this.filepath=fpath;
		this.dataid=dataid;
	}
	public FileBean(String fname,String fsize,String ftype,String fpath,String dataid,String userid,String dir){
		this.filename=fname;
		this.filesize=fsize;
		this.filetype=ftype;
		this.filepath=fpath;
		this.dataid=dataid;
		this.userid=userid;
		this.filedir=dir;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getFilesize() {
		return filesize;
	}
	public void setFilesize(String filesize) {
		this.filesize = filesize;
	}
	public String getFiletype() {
		return filetype;
	}
	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}
	public String getFiledir() {
		return filedir;
	}
	public void setFiledir(String filedir) {
		this.filedir = filedir;
	}
	public String getFilepath() {
		return filepath;
	}
	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}
	public String getDataid() {
		return dataid;
	}
	public void setDataid(String dataid) {
		this.dataid = dataid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public long getCreatetime() {
		return createtime;
	}
	public void setCreatetime(long createtime) {
		this.createtime = createtime;
	}
	public int getDeltag() {
		return deltag;
	}
	public void setDeltag(int deltag) {
		this.deltag = deltag;
	}
	@Override
	public TableKey getTableKey() {
		// TODO Auto-generated method stub
		return new TableKey("wb_files");
	}
	
	
}
